import instance from "@/util/request";

export function login(data){
    return instance({
        url:'user/login',
        method:'POST',
        isToken:false,
        data
    })
}

export function register(data){
    return instance({
        url:'/user/register',
        method:'POST',
        isToken:false,
        data        

    })
}